package com.work.rcj.common.exception;

public enum BusinessErrorEnum implements IError{
    ;

    public static BusinessErrorEnum getBusinessError(String errorCode) {
        for (BusinessErrorEnum value : values()) {
            if (value.getErrorCode().equals(errorCode)) {
                return value;
            }
        }
        return null;
    }

    @Override
    public String getErrorCode() {
        return null;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }
}
